package com.nchu.commondevelopmentframework.common.storage.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @className: HuaweiObsProperties
 * @description: 华为云OBS存储配置文件
 * @author: Li Chuanwei
 * @date: 2024/02/14 12:35
 * @Company: Copyright [日期] by [作者或个人]
 **/
@Configuration
@ConfigurationProperties(prefix = "storage.config.huawei")
@Data
public class HuaweiObsProperties {
    /**
     * 上传空间bucket的名字
     */
    private String bucketName;
    /**
     * AccessKey ID
     */
    private String accessKey;
    /**
     * 秘钥
     */
    private String secretKey;
    /**
     * 地域节点
     */
    private String endpoint;
}
